github.com/klauspost/compress/internal/snapref.Writer.obuf (field)
14 uses
github.com/klauspost/compress/internal/snapref (current package)
encode.go#L126: obuf: make([]byte, obufLen),
encode.go#L141: obuf: make([]byte, obufLen),
encode.go#L160: obuf []byte
encode.go#L221: copy(w.obuf, magicChunk)
encode.go#L235: compressed := Encode(w.obuf[obufHeaderLen:], uncompressed)
encode.go#L246: w.obuf[len(magicChunk)+0] = chunkType
encode.go#L247: w.obuf[len(magicChunk)+1] = uint8(chunkLen >> 0)
encode.go#L248: w.obuf[len(magicChunk)+2] = uint8(chunkLen >> 8)
encode.go#L249: w.obuf[len(magicChunk)+3] = uint8(chunkLen >> 16)
encode.go#L250: w.obuf[len(magicChunk)+4] = uint8(checksum >> 0)
encode.go#L251: w.obuf[len(magicChunk)+5] = uint8(checksum >> 8)
encode.go#L252: w.obuf[len(magicChunk)+6] = uint8(checksum >> 16)
encode.go#L253: w.obuf[len(magicChunk)+7] = uint8(checksum >> 24)
encode.go#L255: if _, err := w.w.Write(w.obuf[obufStart:obufEnd]); err != nil {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |